package com.cloud.drore.eboss.login.user;

import com.cloud.drore.eboss.login.feign.EbossRoleRightRelation;
import com.cloud.drore.eboss.login.feign.ShiroUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 浙江卓锐科技股份有限公司 版权所有 © Copyright 2018<br>
 *
 * @Description: 用户权限po<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/3/15 10:14 <br>
 * @Author: <a href="836327318@qq.com">吴昌益</a>
 */
@Data
public class UserAndFunction {
    @ApiModelProperty(name = "shiro_user", notes = "用户")
    private ShiroUser shiroUser;
    @NotNull
    @ApiModelProperty(name = "shiro_role_right_relation", notes = "关系实体")
    private List<EbossRoleRightRelation> ebossRoleRightRelation;
}
